package com.itheima02;

import java.io.File;

public class getpath {
    public static void main(String[] args) {
        String path="123";
        File file=new File(path);
        System.out.println(file.getAbsolutePath());
        System.out.println(file.getPath());
        System.out.println(file);
        System.out.println(file.toString());
    }
}
